package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.Book;

import java.util.List;

/**
 * Created by Administrator on 2019/1/4.
 */
public interface BookMapper {
    List<Book>  getBookList(@Param("id") Integer id, @Param("name")String name, @Param("form")Integer currentPageNo,
                            @Param("pageSize")Integer pageSize);
    int getCount();

    int add(Book book);
}
